package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.foundation.FoundationClient;
import com.jiyun.mapper.FoundationClientMapper;
import com.jiyun.service.FoundationClientService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class FoundationClientServiceImpl extends ServiceImpl<FoundationClientMapper, FoundationClient> implements FoundationClientService {

    @Resource
    private FoundationClientMapper foundationClientMapper;

    @Override
    public Page<FoundationClient> findfoundation(Integer current, Integer size, FoundationClient fc) {
        Page<FoundationClient> page = new Page<>(current, size);
        page=foundationClientMapper.findfoundation(page,fc);
        return page;
    }
}
